$(".box1").hover(function(){
    $(".background").css("background-image:url(../images/2.jpg)");
});